function message(info) {
    $.messager.show({
        title: '提示',
        msg: info,
        timeout: 1000,
        showType: 'show'
    });
}
$.formatString = function (str) {
    for (var i = 0; i < arguments.length - 1; i++) {
        str = str.replace("{" + i + "}", arguments[i + 1]);
    }
    return str;
};
